const re = /foo {3}bar/;
const re1 = new RegExp("foo {3}bar");
var foo = /foo/;
var foo = RegExp('foo')
var foo = / /;
var foo = RegExp(' ')
var foo = / a b c d /;
var foo = /bar {3}baz/g;
var foo = RegExp('bar {3}baz', 'g')
var foo = new RegExp('bar {3}baz')
var foo = /bar\t\t\tbaz/;
var foo = RegExp('bar\t\t\tbaz');
var foo = new RegExp('bar\t\t\tbaz');
var foo = /  +/;
var foo = /  ?/;
var foo = /  */;
var foo = /  {2}/;